import axios from '@/libs/request/axios'

/**
 * 多条件查询延期申请信息
 * @param params
 * @returns {*}
 */
export const getDelayList = (params) => {
    return axios.request({
        url: "/apply/delay/getDelayList",
        method: "POST",
        data: params,

    })
}

/**
 * 删除状态为草稿状态的延期申请信息
 * @param params
 * @returns {*}
 */
export const deleteDelay = (params) => {
    return axios.request({
        url: "/apply/delay/deleteDelay",
        method: "POST",
        data: params,

    })
}
/**
 * 保存延期信息
 * @param params
 * @returns {*}
 */
export const submitDelayInfo = (params) => {
    return axios.request({
        url: "/apply/delay/submitDelay",
        method: "POST",
        data: params,

    })
}
/**
 * 查询（编辑） 根据id
 * @param params
 * @returns {*}
 */
export const lookDelay = (params) => {
    return axios.request({
        url: "/apply/delay/lookDelay",
        method: "POST",
        data: params,

    })
}

/**
 * 申请延期申请
 * @param params
 * @returns {*}
 */
export const newDelay = (params) => {
    return axios.request({
        url: "/apply/delay/newDelay",
        method: "POST",
        data: params,

    })
}
/**
 * 挂靠单位信息
 * @param params
 * @returns {*}
 */
export const getanchoredinfo = (params) => {
    return axios.request({
        url: "/apply/post/getanchoredinfo",
        method: "POST",
        data: params,

    })
}

